package org.dromara.business.domain.bo;

import org.dromara.business.domain.UserCollect;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

/**
 * 用户收藏夹业务对象 t_user_collect
 *
 * @author Hao Tong Xue
 * @date 2025-06-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserCollect.class, reverseConvertGenerate = false)
public class UserCollectBo extends BaseEntity {

    /**
     * 收藏ID
     */
    @NotNull(message = "收藏ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 收藏夹名称
     */
    @NotBlank(message = "收藏夹名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String collectName;

    /**
     * 是否公开
     */
    @NotNull(message = "是否公开不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long isPublic;

    /**
     * 皮肤图片
     */
    @NotNull(message = "皮肤图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long coverFileId;

    /**
     * 收藏数量
     */
    private Integer contentCount;

    /**
     * 备注
     */
    private String remark;


}
